package com.dlyk.mapper;

import com.dlyk.bean.TProduct;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TProductMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TProduct record);

    int insertSelective(TProduct record);

    TProduct selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TProduct record);

    int updateByPrimaryKey(TProduct record);

    List<TProduct> selectAllOnSaleProduct();
}